Putting multiple statements on a single line lowers the code readability and makes debugging the code more complex.
if (someCondition) doSomething(); // Noncompliant
Write one statement per line to improve readability.
if (someCondition) {
doSomething();
}